<template>
  <div>
    <p class="alertinfo">无人机信息</p>

    <div
      class="btn"
      style="width: auto !important; padding: 0.4vw 1vw"
      @click="closeInfoWindow"
    >
      关 闭
    </div>
  </div>
</template>
<script>
export default {
  porps: {
    map: {
      type: Object,
      default: function () {
        return Object;
      },
    },
    planeinfoWindow: {
      type: Object,
      default: function () {
        return Object;
      },
    },
  },
  data() {
    return {};
  },
  methods: {
    closeInfoWindow() {
      this.planeinfoWindow.close();
    },
  },
};
</script>
<style lang="scss"></style>
